package com.example.isoftservice.service;

import com.example.isoftservice.pojos.User;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;
import java.util.Map;

public interface UserService {

    Map<String,Object> searchUserList(User user,Integer pageNo,Integer pageSize);

    User searchUserById(Integer userId);

    Map<String,Object> login(String username,String password);

    Boolean removeUserByIds(Integer[] ids);

    Boolean addUser(User user);

    Boolean modifyUserById(User user);

    Boolean modifyUserPassword(User user);
    User getUser(String username);

}
